
import pytest
import os




if __name__ == '__main__':
    pytest.main(["-vs",'--alluredir','./report/allure-results'])
    os.system(r"allure generate ./report/allure-results -o ./report/allure-report --clean")
    os.system('allure open ./report/allure-report')  # 打开报告

